Stopping MockMotor

The stopMockMotor.sh script stops a running MockMotor process.

./stopMockMotor.sh

The script kills the MockMotor process by PID from mockmotor.pid file.

If the file is not found, you can kill the MockMotor process(es) manually:

ps -ef | grep mockmotor | grep -v grep | awk '{print $2;}' | xargs kill